/**
 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.caresms.model;

import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.model.BaseModel;
import com.liferay.portal.model.CacheModel;
import com.liferay.portal.service.ServiceContext;

import com.liferay.portlet.expando.model.ExpandoBridge;

import java.io.Serializable;

import java.util.Date;

/**
 * The base model interface for the Keyword_Master service. Represents a row in the &quot;sms_Keyword_Master&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This interface and its corresponding implementation {@link com.caresms.model.impl.Keyword_MasterModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.caresms.model.impl.Keyword_MasterImpl}.
 * </p>
 *
 * @author cc
 * @see Keyword_Master
 * @see com.caresms.model.impl.Keyword_MasterImpl
 * @see com.caresms.model.impl.Keyword_MasterModelImpl
 * @generated
 */
public interface Keyword_MasterModel extends BaseModel<Keyword_Master> {
	/*
	 * NOTE FOR DEVELOPERS:
	 *
	 * Never modify or reference this interface directly. All methods that expect a keyword_ master model instance should use the {@link Keyword_Master} interface instead.
	 */

	/**
	 * Returns the primary key of this keyword_ master.
	 *
	 * @return the primary key of this keyword_ master
	 */
	public long getPrimaryKey();

	/**
	 * Sets the primary key of this keyword_ master.
	 *
	 * @param primaryKey the primary key of this keyword_ master
	 */
	public void setPrimaryKey(long primaryKey);

	/**
	 * Returns the key ID of this keyword_ master.
	 *
	 * @return the key ID of this keyword_ master
	 */
	public long getKeyId();

	/**
	 * Sets the key ID of this keyword_ master.
	 *
	 * @param KeyId the key ID of this keyword_ master
	 */
	public void setKeyId(long KeyId);

	/**
	 * Returns the company ID of this keyword_ master.
	 *
	 * @return the company ID of this keyword_ master
	 */
	public long getCompanyId();

	/**
	 * Sets the company ID of this keyword_ master.
	 *
	 * @param companyId the company ID of this keyword_ master
	 */
	public void setCompanyId(long companyId);

	/**
	 * Returns the user ID of this keyword_ master.
	 *
	 * @return the user ID of this keyword_ master
	 */
	public long getUserId();

	/**
	 * Sets the user ID of this keyword_ master.
	 *
	 * @param userId the user ID of this keyword_ master
	 */
	public void setUserId(long userId);

	/**
	 * Returns the user uuid of this keyword_ master.
	 *
	 * @return the user uuid of this keyword_ master
	 * @throws SystemException if a system exception occurred
	 */
	public String getUserUuid() throws SystemException;

	/**
	 * Sets the user uuid of this keyword_ master.
	 *
	 * @param userUuid the user uuid of this keyword_ master
	 */
	public void setUserUuid(String userUuid);

	/**
	 * Returns the keyword name of this keyword_ master.
	 *
	 * @return the keyword name of this keyword_ master
	 */
	@AutoEscape
	public String getKeywordName();

	/**
	 * Sets the keyword name of this keyword_ master.
	 *
	 * @param KeywordName the keyword name of this keyword_ master
	 */
	public void setKeywordName(String KeywordName);

	/**
	 * Returns the create date of this keyword_ master.
	 *
	 * @return the create date of this keyword_ master
	 */
	public Date getCreateDate();

	/**
	 * Sets the create date of this keyword_ master.
	 *
	 * @param createDate the create date of this keyword_ master
	 */
	public void setCreateDate(Date createDate);

	/**
	 * Returns the created_ by of this keyword_ master.
	 *
	 * @return the created_ by of this keyword_ master
	 */
	public long getCreated_By();

	/**
	 * Sets the created_ by of this keyword_ master.
	 *
	 * @param Created_By the created_ by of this keyword_ master
	 */
	public void setCreated_By(long Created_By);

	/**
	 * Returns the is active of this keyword_ master.
	 *
	 * @return the is active of this keyword_ master
	 */
	public boolean getIsActive();

	/**
	 * Returns <code>true</code> if this keyword_ master is is active.
	 *
	 * @return <code>true</code> if this keyword_ master is is active; <code>false</code> otherwise
	 */
	public boolean isIsActive();

	/**
	 * Sets whether this keyword_ master is is active.
	 *
	 * @param isActive the is active of this keyword_ master
	 */
	public void setIsActive(boolean isActive);

	/**
	 * Returns the cat_ ID of this keyword_ master.
	 *
	 * @return the cat_ ID of this keyword_ master
	 */
	public long getCat_Id();

	/**
	 * Sets the cat_ ID of this keyword_ master.
	 *
	 * @param Cat_Id the cat_ ID of this keyword_ master
	 */
	public void setCat_Id(long Cat_Id);

	/**
	 * Returns the field1 of this keyword_ master.
	 *
	 * @return the field1 of this keyword_ master
	 */
	@AutoEscape
	public String getField1();

	/**
	 * Sets the field1 of this keyword_ master.
	 *
	 * @param field1 the field1 of this keyword_ master
	 */
	public void setField1(String field1);

	/**
	 * Returns the field2 of this keyword_ master.
	 *
	 * @return the field2 of this keyword_ master
	 */
	public boolean getField2();

	/**
	 * Returns <code>true</code> if this keyword_ master is field2.
	 *
	 * @return <code>true</code> if this keyword_ master is field2; <code>false</code> otherwise
	 */
	public boolean isField2();

	/**
	 * Sets whether this keyword_ master is field2.
	 *
	 * @param field2 the field2 of this keyword_ master
	 */
	public void setField2(boolean field2);

	/**
	 * Returns the field3 of this keyword_ master.
	 *
	 * @return the field3 of this keyword_ master
	 */
	public int getField3();

	/**
	 * Sets the field3 of this keyword_ master.
	 *
	 * @param field3 the field3 of this keyword_ master
	 */
	public void setField3(int field3);

	/**
	 * Returns the field4 of this keyword_ master.
	 *
	 * @return the field4 of this keyword_ master
	 */
	public Date getField4();

	/**
	 * Sets the field4 of this keyword_ master.
	 *
	 * @param field4 the field4 of this keyword_ master
	 */
	public void setField4(Date field4);

	/**
	 * Returns the field5 of this keyword_ master.
	 *
	 * @return the field5 of this keyword_ master
	 */
	@AutoEscape
	public String getField5();

	/**
	 * Sets the field5 of this keyword_ master.
	 *
	 * @param field5 the field5 of this keyword_ master
	 */
	public void setField5(String field5);

	public boolean isNew();

	public void setNew(boolean n);

	public boolean isCachedModel();

	public void setCachedModel(boolean cachedModel);

	public boolean isEscapedModel();

	public Serializable getPrimaryKeyObj();

	public void setPrimaryKeyObj(Serializable primaryKeyObj);

	public ExpandoBridge getExpandoBridge();

	public void setExpandoBridgeAttributes(ServiceContext serviceContext);

	public Object clone();

	public int compareTo(Keyword_Master keyword_Master);

	public int hashCode();

	public CacheModel<Keyword_Master> toCacheModel();

	public Keyword_Master toEscapedModel();

	public String toString();

	public String toXmlString();
}